using UnityEngine;

[CreateAssetMenu(fileName = "New attackSpeedPotion", menuName = "Inventory/PowerUpItem/atkSpeedPotion（攻速道具）")]
public class attackSpeedPotion : PowerUpItem
{
    public attackSpeedPotion()
    {
        attackSpeedBoost = 0.1f;
        
    }

    public override void ApplyEffect(Player player)
    {
        base.ApplyEffect(player);
        Debug.Log($"玩家使用了{itemName}，攻击速度增加了 {critRateBoost} 点。");
    }
}